<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Projet d&#39;haptique: C:/Users/NicolasMac/Documents/Visual Studio 2010/Projects/Haptique/ProjetVide/ElementHaptique.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Projet d&#39;haptique
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/NicolasMac/Documents/Visual Studio 2010/Projects/Haptique/ProjetVide/ElementHaptique.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_element_haptique_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __ELEMENT_HAPTIQUE__</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __ELEMENT_HAPTIQUE__</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;IFC.h&gt;</span>
<a name="l00009"></a>00009 
<a name="l00014"></a><a class="code" href="class_element_haptique.html">00014</a> <span class="keyword">class </span><a class="code" href="class_element_haptique.html" title="Classe representant les elements haptiques Classe representant les elements haptiques.">ElementHaptique</a> 
<a name="l00015"></a>00015 {
<a name="l00016"></a>00016 <span class="keyword">protected</span>:
<a name="l00017"></a><a class="code" href="class_element_haptique.html#a54d95777fd48c1da31fc339ce7584fa7">00017</a>         <span class="keywordtype">bool</span> <a class="code" href="class_element_haptique.html#a54d95777fd48c1da31fc339ce7584fa7">debut</a>;
<a name="l00018"></a><a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">00018</a>         CImmProject *<a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">mProjet</a>;
<a name="l00020"></a>00020 <span class="keyword">public</span>:
<a name="l00025"></a><a class="code" href="class_element_haptique.html#aba17dd98483b1bddbf5e87641a3651d5">00025</a>         <a class="code" href="class_element_haptique.html#aba17dd98483b1bddbf5e87641a3651d5" title="Constructeur Constructeur.">ElementHaptique</a>() : <a class="code" href="class_element_haptique.html#a54d95777fd48c1da31fc339ce7584fa7">debut</a>(false), <a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">mProjet</a>(NULL)
<a name="l00026"></a>00026         {
<a name="l00027"></a>00027                 <a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">mProjet</a> = <span class="keyword">new</span> CImmProject();
<a name="l00028"></a>00028         }
<a name="l00029"></a>00029         
<a name="l00034"></a><a class="code" href="class_element_haptique.html#a1bdf75be2f75b82b49e1c22f8ddf4a6b">00034</a>         <span class="keyword">virtual</span> <a class="code" href="class_element_haptique.html#a1bdf75be2f75b82b49e1c22f8ddf4a6b" title="Destructeur Destructeur.">~ElementHaptique</a>()
<a name="l00035"></a>00035         {
<a name="l00036"></a>00036                 <span class="keywordflow">if</span> (<a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">mProjet</a> != NULL)
<a name="l00037"></a>00037                         <span class="keyword">delete</span> <a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">mProjet</a>;
<a name="l00038"></a>00038                 <a class="code" href="class_element_haptique.html#ac44d1484859d92924fba7f7c638cf0dc">mProjet</a> = NULL;
<a name="l00039"></a>00039         }
<a name="l00040"></a>00040         
<a name="l00046"></a><a class="code" href="class_element_haptique.html#ab921b847f829c7bc75b958dfda274729">00046</a>         <span class="keywordtype">bool</span> <a class="code" href="class_element_haptique.html#ab921b847f829c7bc75b958dfda274729" title="Getter du debut Getter du debut.">getDebut</a>()<span class="keyword">const</span>
<a name="l00047"></a>00047 <span class="keyword">        </span>{
<a name="l00048"></a>00048                 <span class="keywordflow">return</span> <a class="code" href="class_element_haptique.html#a54d95777fd48c1da31fc339ce7584fa7">debut</a>;
<a name="l00049"></a>00049         }
<a name="l00050"></a>00050         
<a name="l00056"></a><a class="code" href="class_element_haptique.html#a255c401eee1c5669441707962fd950d5">00056</a>         <span class="keywordtype">void</span> <a class="code" href="class_element_haptique.html#a255c401eee1c5669441707962fd950d5" title="Setter du debut Setter du debut.">setDebut</a>(<span class="keyword">const</span> <span class="keywordtype">bool</span> &amp;b)
<a name="l00057"></a>00057         {
<a name="l00058"></a>00058                 this-&gt;<a class="code" href="class_element_haptique.html#a54d95777fd48c1da31fc339ce7584fa7">debut</a> = b;
<a name="l00059"></a>00059         }
<a name="l00060"></a>00060 
<a name="l00065"></a>00065         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_element_haptique.html#a60bae89ac350b44eb1e8f259094c3d22" title="La methode permettant de recentrer les effets lors de deplacements de fenetre La methode permettant d...">recentrer</a>() = 0;
<a name="l00066"></a>00066         
<a name="l00071"></a>00071         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_element_haptique.html#a64ce25be547f8fca59ad4cbf11fc54ba" title="Permet de lancer l&#39;effet Permet de lancer l&#39;effet.">Start</a>() = 0;
<a name="l00072"></a>00072         
<a name="l00077"></a>00077         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_element_haptique.html#adf5a1d3eab2a8a54f9851e4452c09658" title="Permet de stopper l&#39;effet Permet de stopper l&#39;effet.">Stop</a>() = 0;
<a name="l00078"></a>00078         
<a name="l00085"></a><a class="code" href="class_element_haptique.html#a186142c14f0cfc43eee3a244b21e362a">00085</a>         <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_element_haptique.html#a186142c14f0cfc43eee3a244b21e362a" title="Permet le recentrage relatif Permet le recentrage relatif.">setCentreRelatif</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;x, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;y) {}
<a name="l00086"></a>00086 };
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 15 2012 08:34:03 for Projet d'haptique by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
